package model;

import static org.junit.Assert.*;

import model.container.Cursisten;


import org.junit.Test;

/**  
 * 
 * @author Dimitri Verschueren
 * 
 * and Dimitri Breuval
 *
 */

public class CursistenTest 
{
	Randoms rdm =new Randoms();
	@Test
	public void addCursistenTest()throws Exception
	{		
		Cursisten c = new Cursisten();
		for(int i = 0 ;  i<15;i++)
		{
			String naamCursist = rdm.randomGenerateName();
			String code = Integer.toString(rdm.randomCode());
			String adres = rdm.randomAdres();
				
			Cursist cur = new Cursist(naamCursist, code, adres);
			
			System.out.println(cur);
			c.addCursisten(cur);
		}
	}
}
